/* 设置整个页面的基础样式 */
* {
    margin: 0;
    padding: 0;
    /* background-color: rgb(245,245,245); */
}

ul,
ol {
    list-style: none;
}

input {
    outline: none;

}

a {
    text-decoration: none;
    color: black;
}

.center {
    width: 1100px;
    margin: 0 auto;
}

/**********************************/
/* 顶部导航栏 */
.nav {
    background-color: rgb(36, 36, 36);
    height: 70px;
    overflow: hidden;
}

/* 导航栏整体弹性布局 */
.top-nav {
    height: 70px;
    display: flex;
    justify-content: space-between;

}

/* 左侧区域 */
.top-nav h3 {
    line-height: 70px;
    height: 70px;
}

.top-nav ul {
    /* width: 50%; */
    margin: auto;
    height: 70px;
}

.top-nav ul li {
    margin-left: 25px;
    float: left;
    z-index: 100;
    padding-left: 19px;
    padding-right: 19px;
    cursor: pointer;
}

.top-nav ul li:hover {
    background-color: rgb(0, 0, 0);
}

.top-nav h3 .text {
    font-size: 24px;
}

.top-nav a {
    color: aliceblue;
    height: 70px;
    line-height: 70px;
}

/* 右侧区域 */
.top-nav .search {

    /* width: 40%; */
    height: 28px;
    margin: 15px auto;
    box-sizing: border-box;
}

.top-nav .search input {
    float: left;
    width: 200px;
    height: 40px;
    border: 0;
    padding-left: 10px;
    border-radius: 20px;
}

.top-nav .search .author {
    float: left;
    /* width: 80px; */
    height: 40px;
    color: #fff;
    line-height: 40px;
    margin-left: 10px;
    border-radius: 20px;
    border: 1px solid #666;
    background-color: transparent;
    padding-left: 10px;
    padding-right: 10px;
    cursor: pointer;
}

.top-nav .search .author:hover {
    border: 1px solid #fff;
}

.top-nav .search .load {
    float: left;
    display: block;
    width: 40px;
    line-height: 40px;
    margin-left: 10px;
    color: #787878;
    cursor: pointer;
}
.top-nav .search .load:hover{
    color: #9b9898;
    text-decoration: underline;
}
/****************************************************/
/* 中间红色条 */
.nav2 {
    background-color: rgb(194, 12, 12);
    height: 5px;
}

/****************************************************/
/* 主体内容部分 */

.main {
    background-color: rgb(255, 255, 255);
    width: 900px;
    padding: 40px;
    margin: 0 auto;
}

/* f1头像区域 */
.main .f1 {
    overflow: hidden;
    margin-bottom: 43px;
}

.main .f1 .avatar {
    float: left;
    margin-right: 40px;
}

.main .f1 .wenzi {
    float: left;

}

/* 名字区域按钮和文字 */
.main .f1 .wenzi .name {
    margin-bottom: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgb(221, 221, 221);
}

.main .f1 .wenzi .name span {
    font-size: 22px;
}

.main .f1 .wenzi .name button {
    width: 75px;
    line-height: 31px;
    margin-top: 5px;
    border-radius: 3px;
    cursor: pointer;border: 1px solid #bbb;
}

.main .f1 .wenzi .name .btn1 {
    margin-left: 105px;
    background-color: rgb(242, 242, 242);
}

.main .f1 .wenzi .name .btn2 {
    margin-left: 15px;
    background-color: rgb(36, 117, 195);
    color: aliceblue;
}

.main .f1 .wenzi .name .btn3 {
    margin-left: 190px;
    background-color: rgb(242, 242, 242);
}

.main .f1 .wenzi .name p {
    margin-top: 8px;
    font-size: 12px;
}

/* f1数据部分 */
.main .f1 .wenzi ul {
    display: flex;
    flex-wrap: nowrap;
    margin-bottom: 15px;
}

.main .f1 .wenzi ul li {
    /* width: 20px; */
    height: 40px;
    padding: 0 40px 0 20px;
    cursor: pointer;
    color: rgb(102, 102, 127);
}

.main .f1 .wenzi ul li:hover {
    color: rgb(12, 115, 194);
}

.main .f1 .wenzi ul li strong {
    font-size: 24px;
}

.main .f1 .wenzi .jieshao {
    margin-bottom: 5px;
    font-size: 12px;
}

.main .f1 .wenzi .diqu {
    font-size: 12px;
}

/**************************/
/* 二楼区域排行榜 */

.main .f2 .head {
    border-bottom: 2px solid rgb(194, 12, 12);

    height: 33px;
    width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
    /* background-color: #999; */
}

.main .f2 .head h3 {
    font-size: 20px;
    line-height: 28px;
    float: left;
}

.main .f2 .head .sp1 {
    float: left;
    margin-left: 10px;
    margin-top: 5px;
    line-height: 26px;
    color: #666;
}

.main .f2 .head .sp2,
.main .f2 .head .sp3 {
    float: right;
    line-height: 26px;
    font-size: 12px;
    color: #666;
    margin-left: 8px;
    margin-top: 5px;

}

.main .f2 .head .sp4 {
    float: right;
    margin-top: 5px;
    margin-left: 8px;
}

.main .f2 .head .sp3 {
    color: black;
}

.main .f2 ul {
    margin-bottom: 36px;
}

.main .f2 ul li {
    height: 38px;
    line-height: 38px;
    overflow: hidden;
    cursor: pointer;
}

.main .f2 #song li:hover {
    background-color: rgb(230, 230, 230);
}

.main .f2 ul li:nth-child(odd) {
    background-color: rgb(255, 255, 255);
}

.main .f2 ul li:nth-child(even) {
    background-color: rgb(235, 235, 235)
}


.main .f2 ul li>span {
    float: left;
    padding-left: 5ex;
    padding-right: 8px;
    margin-right: 30px;
    box-sizing: border-box;
}

.main .f2 ul li>div {
    float: left;
    display: flex;
}

.main .f2 ul li>div>span {
    font-size: 12px;
    color: #666;
    margin-left: 15px;
}

.main .f2 ul .li-span {
    padding-left: 33px;
    box-sizing: border-box;
}




/********************************/
/* f3区域 */

.main .f3 h3 {
    border-bottom: 2px solid rgb(194, 12, 12);
    height: 36px;
    line-height: 36px;
    font-weight: normal;

}

.main .f3 ul {
    display: flex;
    margin-top: 20px;

}

.main .f3 ul .li {
    padding-left: 50px;
}

.main .f3 ul li>h5 {
    width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.main .f3 ul li img {
    display: block;
    cursor: pointer;
    transition: 1s;
}

.main .f3 ul li img:hover {
    transform: scale(1.1);

}

/*******************************/
/* 底部 */
.center-foot {
    width: 980px;
    margin: 0 auto;
}

.footer-nav {
    border: 1px solid rgb(211, 211, 211);
    background-color: rgb(242, 242, 242);
}

/*底部导航栏 底部左边 */
.footer {
    margin-top: 20px;
}
.footer a:hover{
    text-decoration: underline;
}
.footer span:hover{
    text-decoration: underline;
}
/*底部导航栏 底部左边 第一行*/
.footer>div {
    float: left;
}

.footer>div>p {
    padding-top: 10px;
    padding-bottom: 10px;
}

/*底部导航栏 底部右边 */
.footer>ul {
    float: right;
}

.footer>ul {
    display: flex;
    justify-content: space-evenly;
}

.footer>ul li {
    margin: 0;
    width: 80px;
    /* height: 45px; */
}

.footer::after {
    content: "";
    display: block;
    clear: both;
}